package com.vo.exam;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * Version: V1.0    <br/>
 * Datetime:   2022/5/16 16:28   <br/>
 * Description: 考试记录
 *
 * @author: chen
 */
@Data
@NoArgsConstructor
@ToString
public class ExamRecord {

    private Integer recordId;

    /**
     * 试卷id
     */
    private Integer paperId;

    private String paperName;

    /**
     * 试题数量
     */
    public Integer numberOfQuestions;

    /**
     * 答对数量
     */
    private Integer numberOfCorrectAnswers;

    private Integer score;

    /**
     * 考试时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date examTime;


}